package com.agricultural.robot.strategy;

import com.agricultural.robot.model.Field;
import com.agricultural.robot.model.Path;

/**
 * 湿土路径规划策略 - 策略模式
 */
public class WetSoilPathStrategy implements PathStrategy {
    @Override
    public Path planPath(Field field, String startPoint, String endPoint) {
        System.out.println("使用湿土路径规划策略，规划从 " + startPoint + " 到 " + endPoint + " 的路径");
        return new Path(startPoint, endPoint, "避开湿地区域，绕行行进");
    }
}
